<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>智能医疗系统 - 首页</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
    <a class="navbar-brand" href="/templates/index.html">智能医疗系统</a>
    <div class="collapse navbar-collapse">
        <ul class="navbar-nav">
            <li class="nav-item"><a class="nav-link" href="/templates/index.html">首页</a></li>
            <li class="nav-item"><a class="nav-link" href="/register.html">注册</a></li>
            <li class="nav-item"><a class="nav-link" href="/ai-chat.html">AI问诊</a></li>
        </ul>
    </div>
</nav>
<div class="container mt-5 text-center">
    <h1>欢迎使用智能医疗系统</h1>
    <div class="row mt-4">
        <div class="col-md-4">
            <div class="card">
                <div class="card-body">
                    <h5 class="card-title">患者服务</h5>
                    <p class="card-text">预约医生 查看诊断 药品购买</p>
                    <a href="/login.html?role=patient" class="btn btn-primary">患者入口</a>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="card">
                <div class="card-body">
                    <h5 class="card-title">医生服务</h5>
                    <p class="card-text">处理预约 开具处方 消息管理</p>
                    <a href="/login.html?role=doctor" class="btn btn-primary">医生入口</a>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="card">
                <div class="card-body">
                    <h5 class="card-title">管理员</h5>
                    <p class="card-text">医生管理 药品库存 系统维护</p>
                    <a href="/login.html?role=admin" class="btn btn-primary">管理入口</a>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>